package org.example.dao;
import org.apache.ibatis.annotations.Param;
import org.example.domain.DeviceFaxNumber;

public interface DeviceFaxNumberMapper {
    /**
     * 根据deviceId查询记录
     */
    DeviceFaxNumber findByDeviceID(@Param("deviceId") String deviceId);

    /**
     * 插入新记录
     */
    int insertDeviceFaxNumber(DeviceFaxNumber deviceFaxNumber);

    int updateFaxNumberByDeviceId(DeviceFaxNumber deviceFaxNumber);

    int insertFaxNumberByDeviceId(DeviceFaxNumber deviceFaxNumber);

    int updateFaxNumberByUserInfo(DeviceFaxNumber deviceFaxNumber);

    int insertFaxNumberByUserInfo(DeviceFaxNumber deviceFaxNumber);
}
